package com.karson.common.model;


import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableName("ar_system_menu")
public class SystemMenu {
    @Schema(description="菜单Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @Schema(description="父级ID")
    private Integer pid;
    @Schema(description="名称")
    private String name;
    @Schema(description="权限标识")
    private String perms;
    @Schema(description="路径参数")
    private String path;
    @Schema(description="组件路径")
    private String component;
    @Schema(description="排序")
    private Integer sort;
    @Schema(description="是否删除")
    @JsonIgnore
    private Boolean isDelte;
    @Schema(description="创建时间")
    private Date createdAt;
    @Schema(description="更新时间")
    private Date updatedAt;
}
